#字典  https://www.runoob.com/python3/python3-dictionary.html
#d = {key1 : value1, key2 : value2, key3 : value3 }
# 键值对 key:value  ,分隔  在 {} 内

dic = {'Name': 'Runoob', 'Age': 7, 'Class': 'First'}
 
#修改
dic['Age'] = 8               # 更新 Age
dic['School'] = "xxx"  # 添加信息

print(dic['Age'])
print(dic['Name'])

#删除
del dic['Class']

